<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Page01.aspx.cs" Inherits="Page01" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <link rel="stylesheet" type="text/css" href="css/StyleSheet.css" />
    <title><%#_rm.GetString(ResKeys.PageTitle)%></title>
</head>
<body style="margin-top:0;margin-bottom:0">
    <form id="uiForm" runat="server">
    <div>
        <table id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
			<tr>
				<td>
				
					<table height="29" cellSpacing="0" cellPadding="0" width="100%" bgColor="#def2fd" border="0">
						<tr>
							<td valign="top"></td>
							<td width="100%" rowspan="2">
								<table cellSpacing="0" cellPadding="0" width="100%" background="" border="0">
									<tr>
										<td nowrap>
											<a href="Page01.aspx"><img src="g/i-t-home.gif" width="18" height="15" border="0" align="absMiddle" hspace="5"><asp:Label ID="uiHomeHref" ForeColor="Blue" Font-Bold="true" runat="server"><%#_rm.GetString(ResKeys.HomeHref)%></asp:Label></a>
										</td>
										<td>
											&nbsp;
										</td>
										<td align="center" nowrap>
                                            <asp:Label ID="uiUserNameInscr" ForeColor="DarkBlue" Font-Bold="true" runat="server">
                                                <%#_rm.GetString(ResKeys.UserNameInscr)%>
                                            </asp:Label>
											<asp:label id="uiUserName" runat="server"></asp:label></td>
										<td align="right" nowrap>
										    <a href="LoginForUser.aspx"><%#_rm.GetString(ResKeys.ChangeUser) %></a>
										
										</td>
										
										<!--
										<td align="right" nowrap>
										    <asp:Label Visible="false" ID="uiDepartmentInscr" ForeColor="DarkBlue" Font-Bold="true" runat="server">
                                                <%#_rm.GetString(ResKeys.DepartmentInscr)%>
                                            </asp:Label>
											<asp:label id="uiDepartment" runat="server" Visible="false"></asp:label>
											
										</td>
										-->
									</tr>
								</table>
							</td>
							<td vAlign="top" align="right"></td>
						</tr>
						<tr vAlign="bottom">
							<td><img height="5" src="g/i-tbl-lb.gif" width="5"/></td>
							<td align="right"><img height="5" src="g/i-tbl-rb.gif" width="5"/></td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
				</td>
			</tr>
			<tr>
				<td>
					<table height="29" cellSpacing="0" cellPadding="0" width="100%" bgColor="#def2fd" border="0">
						<tr>
							<td vAlign="top"><img height="5" src="g/i-tbl-lt.gif" width="5"></td>
							<td width="100%" rowSpan="2">
								<table cellSpacing="0" cellPadding="0" width="100%" background="" border="0">
									<tr>
										<td></td>
										<td width="100%">&nbsp;&nbsp;
										<asp:repeater id="uiMainMenu" runat="server">
										    <ItemTemplate>
                                                <asp:HyperLink ID="uiMenuHyperLink" runat="server" ForeColor="Blue" 
                                                NavigateUrl='<%#GetMenuItemUrl(Eval("Id", "{0}"))%>'>
                                                    <%# _rm.GetString(Eval("NameResKey", "{0}"))%>
                                                </asp:HyperLink>
										    </ItemTemplate>
										    <SeparatorTemplate>
										        &nbsp;|&nbsp;
										    </SeparatorTemplate>
										</asp:repeater>
										
										</td>
										<td></td>
									</tr>
								</table>
							</td>
							<td vAlign="top" align="right"><img height="5" src="g/i-tbl-rt.gif" width="5"></td>
						</tr>
						<tr vAlign="bottom">
							<td><img height="5" src="g/i-tbl-lb.gif" width="5"></td>
							<td align="right"><img height="5" src="g/i-tbl-rb.gif" width="5"></td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td></td>
			</tr>
			<tr>
				<td>
					<table height="29" cellSpacing="0" cellPadding="0" width="100%" bgColor="#00ccff" border="0">
						<tr>
							<td vAlign="top"><img height="5" src="g/i-tbl-lt.gif" width="5"></td>
							<td width="100%" rowSpan="2">
								<table cellSpacing="0" cellPadding="0" width="100%" background="" border="0">
									<tr>
										<td><img height="13" hspace="4" src="g/i-arrow.gif" width="13" border="0"></td>
										<td width="100%"><asp:label id="uiCurrentMenu" runat="server" Font-Bold="True"></asp:label>
										<td></td>
									</tr>
								</table>
							</td>
							<td vAlign="top" align="right"><img height="5" src="g/i-tbl-rt.gif" width="5"></td>
						</tr>
						<tr vAlign="bottom">
							<td><img height="5" src="g/i-tbl-lb.gif" width="5"></td>
							<td align="right"><img height="5" src="g/i-tbl-rb.gif" width="5"/></td>
						</tr>
					</table>
				</td>
			</tr>
			<tr><td>
			<asp:Repeater id="uiSubMenu" runat="server" Visible="false">
	            <HeaderTemplate>
		            <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
			            <tr>
			                <td width="50px">&nbsp;</td>
			                <td width="200px"></td>
				            <td width="200px"></td>
			            </tr>
	            </HeaderTemplate>
	            <ItemTemplate>
		            <tr>
		                <td>&nbsp;</td>
			            <td>
				            <b style="FONT-SIZE: 13pt; color:#A8AD0E;">&#149;</b>&nbsp; 
                            <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="Blue"
                                NavigateUrl='<%#GetMenuItemUrl(Eval("Id","{0}")) %>'
                                >
                                <%# _rm.GetString(Eval("NameResKey", "{0}"))%>
                            </asp:HyperLink>
			            </td>
	            </ItemTemplate>
	            <AlternatingItemTemplate>
		            <td>
			            <b style="FONT-SIZE: 13pt; color:#A8AD0E;">&#149;</b>&nbsp; 
			             <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="Blue"
                                NavigateUrl='<%#GetMenuItemUrl(Eval("Id","{0}")) %>'
                                >
                                <%# _rm.GetString(Eval("NameResKey", "{0}"))%>
                         </asp:HyperLink>
		            </td>
		            </tr>
	            </AlternatingItemTemplate>
	            <FooterTemplate>
		            <%# (uiSubMenu.Items.Count % 2 == 0) ?  "" : "</tr>"   %>
            		
		            </TABLE>
	            </FooterTemplate>
            </asp:Repeater>
			</td></tr>
			<!--
			<tr>
				<td>&nbsp;</td>
			</tr>
			
			<tr>
				<td>
					
				</td>
			</tr>
				-->
		</table>
		<asp:PlaceHolder id="uiContent" runat="server"></asp:PlaceHolder>
    </div>
    </form>
</body>
</html>
